<?php
	/**
	 * This is a MetaControl class, providing a QForm or QPanel access to event handlers
	 * and QControls to perform the Create, Edit, and Delete functionality
	 * of the TableJpBank class.  This code-generated class
	 * contains all the basic elements to help a QPanel or QForm display an HTML form that can
	 * manipulate a single TableJpBank object.
	 *
	 * To take advantage of some (or all) of these control objects, you
	 * must create a new QForm or QPanel which instantiates a TableJpBankMetaControl
	 * class.
	 *
	 * Any and all changes to this file will be overwritten with any subsequent
	 * code re-generation.
	 * 
	 * @package My Application
	 * @subpackage MetaControls
	 * property-read TableJpBank $TableJpBank the actual TableJpBank data class being edited
	 * property QLabel $IdControl
	 * property-read QLabel $IdLabel
	 * property QTextBox $BankCodeControl
	 * property-read QLabel $BankCodeLabel
	 * property QTextBox $BranchCodeControl
	 * property-read QLabel $BranchCodeLabel
	 * property QTextBox $BankNameKanaControl
	 * property-read QLabel $BankNameKanaLabel
	 * property QTextBox $BranchNameKanaControl
	 * property-read QLabel $BranchNameKanaLabel
	 * property QTextBox $BankNameControl
	 * property-read QLabel $BankNameLabel
	 * property QTextBox $BranchNameControl
	 * property-read QLabel $BranchNameLabel
	 * property QTextBox $BankNameScreenControl
	 * property-read QLabel $BankNameScreenLabel
	 * property QTextBox $BranchNameScreenControl
	 * property-read QLabel $BranchNameScreenLabel
	 * property-read string $TitleVerb a verb indicating whether or not this is being edited or created
	 * property-read boolean $EditMode a boolean indicating whether or not this is being edited or created
	 */

	class TableJpBankMetaControlGen extends QBaseClass {
		// General Variables
		protected $objTableJpBank;
		protected $objParentObject;
		protected $strTitleVerb;
		protected $blnEditMode;

		// Controls that allow the editing of TableJpBank's individual data fields
		protected $lblId;
		protected $txtBankCode;
		protected $txtBranchCode;
		protected $txtBankNameKana;
		protected $txtBranchNameKana;
		protected $txtBankName;
		protected $txtBranchName;
		protected $txtBankNameScreen;
		protected $txtBranchNameScreen;

		// Controls that allow the viewing of TableJpBank's individual data fields
		protected $lblBankCode;
		protected $lblBranchCode;
		protected $lblBankNameKana;
		protected $lblBranchNameKana;
		protected $lblBankName;
		protected $lblBranchName;
		protected $lblBankNameScreen;
		protected $lblBranchNameScreen;

		// QListBox Controls (if applicable) to edit Unique ReverseReferences and ManyToMany References

		// QLabel Controls (if applicable) to view Unique ReverseReferences and ManyToMany References


		/**
		 * Main constructor.  Constructor OR static create methods are designed to be called in either
		 * a parent QPanel or the main QForm when wanting to create a
		 * TableJpBankMetaControl to edit a single TableJpBank object within the
		 * QPanel or QForm.
		 *
		 * This constructor takes in a single TableJpBank object, while any of the static
		 * create methods below can be used to construct based off of individual PK ID(s).
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableJpBankMetaControl
		 * @param TableJpBank $objTableJpBank new or existing TableJpBank object
		 */
		 public function __construct($objParentObject, TableJpBank $objTableJpBank) {
			// Setup Parent Object (e.g. QForm or QPanel which will be using this TableJpBankMetaControl)
			$this->objParentObject = $objParentObject;

			// Setup linked TableJpBank object
			$this->objTableJpBank = $objTableJpBank;

			// Figure out if we're Editing or Creating New
			if ($this->objTableJpBank->__Restored) {
				$this->strTitleVerb = QApplication::Translate('Edit');
				$this->blnEditMode = true;
			} else {
				$this->strTitleVerb = QApplication::Translate('Create');
				$this->blnEditMode = false;
			}
		 }

		/**
		 * Static Helper Method to Create using PK arguments
		 * You must pass in the PK arguments on an object to load, or leave it blank to create a new one.
		 * If you want to load via QueryString or PathInfo, use the CreateFromQueryString or CreateFromPathInfo
		 * static helper methods.  Finally, specify a CreateType to define whether or not we are only allowed to 
		 * edit, or if we are also allowed to create a new one, etc.
		 * 
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableJpBankMetaControl
		 * @param integer $intId primary key value
		 * @param QMetaControlCreateType $intCreateType rules governing TableJpBank object creation - defaults to CreateOrEdit
 		 * @return TableJpBankMetaControl
		 */
		public static function Create($objParentObject, $intId = null, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			// Attempt to Load from PK Arguments
			if (strlen($intId)) {
				$objTableJpBank = TableJpBank::Load($intId);

				// TableJpBank was found -- return it!
				if ($objTableJpBank)
					return new TableJpBankMetaControl($objParentObject, $objTableJpBank);

				// If CreateOnRecordNotFound not specified, throw an exception
				else if ($intCreateType != QMetaControlCreateType::CreateOnRecordNotFound)
					throw new QCallerException('Could not find a TableJpBank object with PK arguments: ' . $intId);

			// If EditOnly is specified, throw an exception
			} else if ($intCreateType == QMetaControlCreateType::EditOnly)
				throw new QCallerException('No PK arguments specified');

			// If we are here, then we need to create a new record
			return new TableJpBankMetaControl($objParentObject, new TableJpBank());
		}

		/**
		 * Static Helper Method to Create using PathInfo arguments
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableJpBankMetaControl
		 * @param QMetaControlCreateType $intCreateType rules governing TableJpBank object creation - defaults to CreateOrEdit
		 * @return TableJpBankMetaControl
		 */
		public static function CreateFromPathInfo($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			$intId = QApplication::PathInfo(0);
			return TableJpBankMetaControl::Create($objParentObject, $intId, $intCreateType);
		}

		/**
		 * Static Helper Method to Create using QueryString arguments
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this TableJpBankMetaControl
		 * @param QMetaControlCreateType $intCreateType rules governing TableJpBank object creation - defaults to CreateOrEdit
		 * @return TableJpBankMetaControl
		 */
		public static function CreateFromQueryString($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			$intId = QApplication::QueryString('intId');
			return TableJpBankMetaControl::Create($objParentObject, $intId, $intCreateType);
		}



		///////////////////////////////////////////////
		// PUBLIC CREATE and REFRESH METHODS
		///////////////////////////////////////////////

		/**
		 * Create and setup QLabel lblId
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblId_Create($strControlId = null) {
			$this->lblId = new QLabel($this->objParentObject, $strControlId);
			$this->lblId->Name = QApplication::Translate('Id');
			if ($this->blnEditMode)
				$this->lblId->Text = $this->objTableJpBank->Id;
			else
				$this->lblId->Text = 'N/A';
			return $this->lblId;
		}

		/**
		 * Create and setup QTextBox txtBankCode
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtBankCode_Create($strControlId = null) {
			$this->txtBankCode = new QTextBox($this->objParentObject, $strControlId);
			$this->txtBankCode->Name = QApplication::Translate('Bank Code');
			$this->txtBankCode->Text = $this->objTableJpBank->BankCode;
			$this->txtBankCode->Required = true;
			$this->txtBankCode->MaxLength = TableJpBank::BankCodeMaxLength;
			return $this->txtBankCode;
		}

		/**
		 * Create and setup QLabel lblBankCode
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblBankCode_Create($strControlId = null) {
			$this->lblBankCode = new QLabel($this->objParentObject, $strControlId);
			$this->lblBankCode->Name = QApplication::Translate('Bank Code');
			$this->lblBankCode->Text = $this->objTableJpBank->BankCode;
			$this->lblBankCode->Required = true;
			return $this->lblBankCode;
		}

		/**
		 * Create and setup QTextBox txtBranchCode
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtBranchCode_Create($strControlId = null) {
			$this->txtBranchCode = new QTextBox($this->objParentObject, $strControlId);
			$this->txtBranchCode->Name = QApplication::Translate('Branch Code');
			$this->txtBranchCode->Text = $this->objTableJpBank->BranchCode;
			$this->txtBranchCode->Required = true;
			$this->txtBranchCode->MaxLength = TableJpBank::BranchCodeMaxLength;
			return $this->txtBranchCode;
		}

		/**
		 * Create and setup QLabel lblBranchCode
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblBranchCode_Create($strControlId = null) {
			$this->lblBranchCode = new QLabel($this->objParentObject, $strControlId);
			$this->lblBranchCode->Name = QApplication::Translate('Branch Code');
			$this->lblBranchCode->Text = $this->objTableJpBank->BranchCode;
			$this->lblBranchCode->Required = true;
			return $this->lblBranchCode;
		}

		/**
		 * Create and setup QTextBox txtBankNameKana
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtBankNameKana_Create($strControlId = null) {
			$this->txtBankNameKana = new QTextBox($this->objParentObject, $strControlId);
			$this->txtBankNameKana->Name = QApplication::Translate('Bank Name Kana');
			$this->txtBankNameKana->Text = $this->objTableJpBank->BankNameKana;
			$this->txtBankNameKana->Required = true;
			$this->txtBankNameKana->MaxLength = TableJpBank::BankNameKanaMaxLength;
			return $this->txtBankNameKana;
		}

		/**
		 * Create and setup QLabel lblBankNameKana
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblBankNameKana_Create($strControlId = null) {
			$this->lblBankNameKana = new QLabel($this->objParentObject, $strControlId);
			$this->lblBankNameKana->Name = QApplication::Translate('Bank Name Kana');
			$this->lblBankNameKana->Text = $this->objTableJpBank->BankNameKana;
			$this->lblBankNameKana->Required = true;
			return $this->lblBankNameKana;
		}

		/**
		 * Create and setup QTextBox txtBranchNameKana
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtBranchNameKana_Create($strControlId = null) {
			$this->txtBranchNameKana = new QTextBox($this->objParentObject, $strControlId);
			$this->txtBranchNameKana->Name = QApplication::Translate('Branch Name Kana');
			$this->txtBranchNameKana->Text = $this->objTableJpBank->BranchNameKana;
			$this->txtBranchNameKana->Required = true;
			$this->txtBranchNameKana->MaxLength = TableJpBank::BranchNameKanaMaxLength;
			return $this->txtBranchNameKana;
		}

		/**
		 * Create and setup QLabel lblBranchNameKana
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblBranchNameKana_Create($strControlId = null) {
			$this->lblBranchNameKana = new QLabel($this->objParentObject, $strControlId);
			$this->lblBranchNameKana->Name = QApplication::Translate('Branch Name Kana');
			$this->lblBranchNameKana->Text = $this->objTableJpBank->BranchNameKana;
			$this->lblBranchNameKana->Required = true;
			return $this->lblBranchNameKana;
		}

		/**
		 * Create and setup QTextBox txtBankName
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtBankName_Create($strControlId = null) {
			$this->txtBankName = new QTextBox($this->objParentObject, $strControlId);
			$this->txtBankName->Name = QApplication::Translate('Bank Name');
			$this->txtBankName->Text = $this->objTableJpBank->BankName;
			$this->txtBankName->Required = true;
			$this->txtBankName->MaxLength = TableJpBank::BankNameMaxLength;
			return $this->txtBankName;
		}

		/**
		 * Create and setup QLabel lblBankName
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblBankName_Create($strControlId = null) {
			$this->lblBankName = new QLabel($this->objParentObject, $strControlId);
			$this->lblBankName->Name = QApplication::Translate('Bank Name');
			$this->lblBankName->Text = $this->objTableJpBank->BankName;
			$this->lblBankName->Required = true;
			return $this->lblBankName;
		}

		/**
		 * Create and setup QTextBox txtBranchName
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtBranchName_Create($strControlId = null) {
			$this->txtBranchName = new QTextBox($this->objParentObject, $strControlId);
			$this->txtBranchName->Name = QApplication::Translate('Branch Name');
			$this->txtBranchName->Text = $this->objTableJpBank->BranchName;
			$this->txtBranchName->Required = true;
			$this->txtBranchName->MaxLength = TableJpBank::BranchNameMaxLength;
			return $this->txtBranchName;
		}

		/**
		 * Create and setup QLabel lblBranchName
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblBranchName_Create($strControlId = null) {
			$this->lblBranchName = new QLabel($this->objParentObject, $strControlId);
			$this->lblBranchName->Name = QApplication::Translate('Branch Name');
			$this->lblBranchName->Text = $this->objTableJpBank->BranchName;
			$this->lblBranchName->Required = true;
			return $this->lblBranchName;
		}

		/**
		 * Create and setup QTextBox txtBankNameScreen
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtBankNameScreen_Create($strControlId = null) {
			$this->txtBankNameScreen = new QTextBox($this->objParentObject, $strControlId);
			$this->txtBankNameScreen->Name = QApplication::Translate('Bank Name Screen');
			$this->txtBankNameScreen->Text = $this->objTableJpBank->BankNameScreen;
			$this->txtBankNameScreen->Required = true;
			$this->txtBankNameScreen->MaxLength = TableJpBank::BankNameScreenMaxLength;
			return $this->txtBankNameScreen;
		}

		/**
		 * Create and setup QLabel lblBankNameScreen
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblBankNameScreen_Create($strControlId = null) {
			$this->lblBankNameScreen = new QLabel($this->objParentObject, $strControlId);
			$this->lblBankNameScreen->Name = QApplication::Translate('Bank Name Screen');
			$this->lblBankNameScreen->Text = $this->objTableJpBank->BankNameScreen;
			$this->lblBankNameScreen->Required = true;
			return $this->lblBankNameScreen;
		}

		/**
		 * Create and setup QTextBox txtBranchNameScreen
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtBranchNameScreen_Create($strControlId = null) {
			$this->txtBranchNameScreen = new QTextBox($this->objParentObject, $strControlId);
			$this->txtBranchNameScreen->Name = QApplication::Translate('Branch Name Screen');
			$this->txtBranchNameScreen->Text = $this->objTableJpBank->BranchNameScreen;
			$this->txtBranchNameScreen->Required = true;
			$this->txtBranchNameScreen->MaxLength = TableJpBank::BranchNameScreenMaxLength;
			return $this->txtBranchNameScreen;
		}

		/**
		 * Create and setup QLabel lblBranchNameScreen
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblBranchNameScreen_Create($strControlId = null) {
			$this->lblBranchNameScreen = new QLabel($this->objParentObject, $strControlId);
			$this->lblBranchNameScreen->Name = QApplication::Translate('Branch Name Screen');
			$this->lblBranchNameScreen->Text = $this->objTableJpBank->BranchNameScreen;
			$this->lblBranchNameScreen->Required = true;
			return $this->lblBranchNameScreen;
		}



		/**
		 * Refresh this MetaControl with Data from the local TableJpBank object.
		 * @param boolean $blnReload reload TableJpBank from the database
		 * @return void
		 */
		public function Refresh($blnReload = false) {
			if ($blnReload)
				$this->objTableJpBank->Reload();

			if ($this->lblId) if ($this->blnEditMode) $this->lblId->Text = $this->objTableJpBank->Id;

			if ($this->txtBankCode) $this->txtBankCode->Text = $this->objTableJpBank->BankCode;
			if ($this->lblBankCode) $this->lblBankCode->Text = $this->objTableJpBank->BankCode;

			if ($this->txtBranchCode) $this->txtBranchCode->Text = $this->objTableJpBank->BranchCode;
			if ($this->lblBranchCode) $this->lblBranchCode->Text = $this->objTableJpBank->BranchCode;

			if ($this->txtBankNameKana) $this->txtBankNameKana->Text = $this->objTableJpBank->BankNameKana;
			if ($this->lblBankNameKana) $this->lblBankNameKana->Text = $this->objTableJpBank->BankNameKana;

			if ($this->txtBranchNameKana) $this->txtBranchNameKana->Text = $this->objTableJpBank->BranchNameKana;
			if ($this->lblBranchNameKana) $this->lblBranchNameKana->Text = $this->objTableJpBank->BranchNameKana;

			if ($this->txtBankName) $this->txtBankName->Text = $this->objTableJpBank->BankName;
			if ($this->lblBankName) $this->lblBankName->Text = $this->objTableJpBank->BankName;

			if ($this->txtBranchName) $this->txtBranchName->Text = $this->objTableJpBank->BranchName;
			if ($this->lblBranchName) $this->lblBranchName->Text = $this->objTableJpBank->BranchName;

			if ($this->txtBankNameScreen) $this->txtBankNameScreen->Text = $this->objTableJpBank->BankNameScreen;
			if ($this->lblBankNameScreen) $this->lblBankNameScreen->Text = $this->objTableJpBank->BankNameScreen;

			if ($this->txtBranchNameScreen) $this->txtBranchNameScreen->Text = $this->objTableJpBank->BranchNameScreen;
			if ($this->lblBranchNameScreen) $this->lblBranchNameScreen->Text = $this->objTableJpBank->BranchNameScreen;

		}



		///////////////////////////////////////////////
		// PROTECTED UPDATE METHODS for ManyToManyReferences (if any)
		///////////////////////////////////////////////





		///////////////////////////////////////////////
		// PUBLIC TABLEJPBANK OBJECT MANIPULATORS
		///////////////////////////////////////////////

		/**
		 * This will save this object's TableJpBank instance,
		 * updating only the fields which have had a control created for it.
		 */
		public function SaveTableJpBank() {
			try {
				// Update any fields for controls that have been created
				if ($this->txtBankCode) $this->objTableJpBank->BankCode = $this->txtBankCode->Text;
				if ($this->txtBranchCode) $this->objTableJpBank->BranchCode = $this->txtBranchCode->Text;
				if ($this->txtBankNameKana) $this->objTableJpBank->BankNameKana = $this->txtBankNameKana->Text;
				if ($this->txtBranchNameKana) $this->objTableJpBank->BranchNameKana = $this->txtBranchNameKana->Text;
				if ($this->txtBankName) $this->objTableJpBank->BankName = $this->txtBankName->Text;
				if ($this->txtBranchName) $this->objTableJpBank->BranchName = $this->txtBranchName->Text;
				if ($this->txtBankNameScreen) $this->objTableJpBank->BankNameScreen = $this->txtBankNameScreen->Text;
				if ($this->txtBranchNameScreen) $this->objTableJpBank->BranchNameScreen = $this->txtBranchNameScreen->Text;

				// Update any UniqueReverseReferences (if any) for controls that have been created for it

				// Save the TableJpBank object
				$this->objTableJpBank->Save();

				// Finally, update any ManyToManyReferences (if any)
			} catch (QCallerException $objExc) {
				$objExc->IncrementOffset();
				throw $objExc;
			}
		}

		/**
		 * This will DELETE this object's TableJpBank instance from the database.
		 * It will also unassociate itself from any ManyToManyReferences.
		 */
		public function DeleteTableJpBank() {
			$this->objTableJpBank->Delete();
		}		



		///////////////////////////////////////////////
		// PUBLIC GETTERS and SETTERS
		///////////////////////////////////////////////

		/**
		 * Override method to perform a property "Get"
		 * This will get the value of $strName
		 *
		 * @param string $strName Name of the property to get
		 * @return mixed
		 */
		public function __get($strName) {
			switch ($strName) {
				// General MetaControlVariables
				case 'TableJpBank': return $this->objTableJpBank;
				case 'TitleVerb': return $this->strTitleVerb;
				case 'EditMode': return $this->blnEditMode;

				// Controls that point to TableJpBank fields -- will be created dynamically if not yet created
				case 'IdControl':
					if (!$this->lblId) return $this->lblId_Create();
					return $this->lblId;
				case 'IdLabel':
					if (!$this->lblId) return $this->lblId_Create();
					return $this->lblId;
				case 'BankCodeControl':
					if (!$this->txtBankCode) return $this->txtBankCode_Create();
					return $this->txtBankCode;
				case 'BankCodeLabel':
					if (!$this->lblBankCode) return $this->lblBankCode_Create();
					return $this->lblBankCode;
				case 'BranchCodeControl':
					if (!$this->txtBranchCode) return $this->txtBranchCode_Create();
					return $this->txtBranchCode;
				case 'BranchCodeLabel':
					if (!$this->lblBranchCode) return $this->lblBranchCode_Create();
					return $this->lblBranchCode;
				case 'BankNameKanaControl':
					if (!$this->txtBankNameKana) return $this->txtBankNameKana_Create();
					return $this->txtBankNameKana;
				case 'BankNameKanaLabel':
					if (!$this->lblBankNameKana) return $this->lblBankNameKana_Create();
					return $this->lblBankNameKana;
				case 'BranchNameKanaControl':
					if (!$this->txtBranchNameKana) return $this->txtBranchNameKana_Create();
					return $this->txtBranchNameKana;
				case 'BranchNameKanaLabel':
					if (!$this->lblBranchNameKana) return $this->lblBranchNameKana_Create();
					return $this->lblBranchNameKana;
				case 'BankNameControl':
					if (!$this->txtBankName) return $this->txtBankName_Create();
					return $this->txtBankName;
				case 'BankNameLabel':
					if (!$this->lblBankName) return $this->lblBankName_Create();
					return $this->lblBankName;
				case 'BranchNameControl':
					if (!$this->txtBranchName) return $this->txtBranchName_Create();
					return $this->txtBranchName;
				case 'BranchNameLabel':
					if (!$this->lblBranchName) return $this->lblBranchName_Create();
					return $this->lblBranchName;
				case 'BankNameScreenControl':
					if (!$this->txtBankNameScreen) return $this->txtBankNameScreen_Create();
					return $this->txtBankNameScreen;
				case 'BankNameScreenLabel':
					if (!$this->lblBankNameScreen) return $this->lblBankNameScreen_Create();
					return $this->lblBankNameScreen;
				case 'BranchNameScreenControl':
					if (!$this->txtBranchNameScreen) return $this->txtBranchNameScreen_Create();
					return $this->txtBranchNameScreen;
				case 'BranchNameScreenLabel':
					if (!$this->lblBranchNameScreen) return $this->lblBranchNameScreen_Create();
					return $this->lblBranchNameScreen;
				default:
					try {
						return parent::__get($strName);
					} catch (QCallerException $objExc) {
						$objExc->IncrementOffset();
						throw $objExc;
					}
			}
		}

		/**
		 * Override method to perform a property "Set"
		 * This will set the property $strName to be $mixValue
		 *
		 * @param string $strName Name of the property to set
		 * @param string $mixValue New value of the property
		 * @return mixed
		 */
		public function __set($strName, $mixValue) {
			try {
				switch ($strName) {
					// Controls that point to TableJpBank fields
					case 'IdControl':
						return ($this->lblId = QType::Cast($mixValue, 'QControl'));
					case 'BankCodeControl':
						return ($this->txtBankCode = QType::Cast($mixValue, 'QControl'));
					case 'BranchCodeControl':
						return ($this->txtBranchCode = QType::Cast($mixValue, 'QControl'));
					case 'BankNameKanaControl':
						return ($this->txtBankNameKana = QType::Cast($mixValue, 'QControl'));
					case 'BranchNameKanaControl':
						return ($this->txtBranchNameKana = QType::Cast($mixValue, 'QControl'));
					case 'BankNameControl':
						return ($this->txtBankName = QType::Cast($mixValue, 'QControl'));
					case 'BranchNameControl':
						return ($this->txtBranchName = QType::Cast($mixValue, 'QControl'));
					case 'BankNameScreenControl':
						return ($this->txtBankNameScreen = QType::Cast($mixValue, 'QControl'));
					case 'BranchNameScreenControl':
						return ($this->txtBranchNameScreen = QType::Cast($mixValue, 'QControl'));
					default:
						return parent::__set($strName, $mixValue);
				}
			} catch (QCallerException $objExc) {
				$objExc->IncrementOffset();
				throw $objExc;
			}
		}
	}
?>